Optimal. Leaf size=93 \[ -\frac {35 \sqrt {a} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{16 b^{9/2}}-\frac {35 x^3}{48 b^3 \left (a+b x^2\right )}-\frac {7 x^5}{24 b^2 \left (a+b x^2\right )^2}-\frac {x^7}{6 b \left (a+b x^2\right )^3}+\frac {35 x}{16 b^4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 93, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {28, 288, 321, 205} \[ -\frac {7 x^5}{24 b^2 \left (a+b x^2\right )^2}-\frac {35 x^3}{48 b^3 \left (a+b x^2\right )}-\frac {35 \sqrt {a} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{16 b^{9/2}}-\frac {x^7}{6 b \left (a+b x^2\right )^3}+\frac {35 x}{16 b^4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 28
Rule 205
Rule 288
Rule 321
Rubi steps
\begin {align*} \int \frac {x^8}{\left (a^2+2 a b x^2+b^2 x^4\right )^2} \, dx &=b^4 \int \frac {x^8}{\left (a b+b^2 x^2\right )^4} \, dx\\ &=-\frac {x^7}{6 b \left (a+b x^2\right )^3}+\frac {1}{6} \left (7 b^2\right ) \int \frac {x^6}{\left (a b+b^2 x^2\right )^3} \, dx\\ &=-\frac {x^7}{6 b \left (a+b x^2\right )^3}-\frac {7 x^5}{24 b^2 \left (a+b x^2\right )^2}+\frac {35}{24} \int \frac {x^4}{\left (a b+b^2 x^2\right )^2} \, dx\\ &=-\frac {x^7}{6 b \left (a+b x^2\right )^3}-\frac {7 x^5}{24 b^2 \left (a+b x^2\right )^2}-\frac {35 x^3}{48 b^3 \left (a+b x^2\right )}+\frac {35 \int \frac {x^2}{a b+b^2 x^2} \, dx}{16 b^2}\\ &=\frac {35 x}{16 b^4}-\frac {x^7}{6 b \left (a+b x^2\right )^3}-\frac {7 x^5}{24 b^2 \left (a+b x^2\right )^2}-\frac {35 x^3}{48 b^3 \left (a+b x^2\right )}-\frac {(35 a) \int \frac {1}{a b+b^2 x^2} \, dx}{16 b^3}\\ &=\frac {35 x}{16 b^4}-\frac {x^7}{6 b \left (a+b x^2\right )^3}-\frac {7 x^5}{24 b^2 \left (a+b x^2\right )^2}-\frac {35 x^3}{48 b^3 \left (a+b x^2\right )}-\frac {35 \sqrt {a} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{16 b^{9/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 77, normalized size = 0.83 \[ \frac {105 a^3 x+280 a^2 b x^3+231 a b^2 x^5+48 b^3 x^7}{48 b^4 \left (a+b x^2\right )^3}-\frac {35 \sqrt {a} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{16 b^{9/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.74, size = 268, normalized size = 2.88 \[ \left [\frac {96 \, b^{3} x^{7} + 462 \, a b^{2} x^{5} + 560 \, a^{2} b x^{3} + 210 \, a^{3} x + 105 \, {\left (b^{3} x^{6} + 3 \, a b^{2} x^{4} + 3 \, a^{2} b x^{2} + a^{3}\right )} \sqrt {-\frac {a}{b}} \log \left (\frac {b x^{2} - 2 \, b x \sqrt {-\frac {a}{b}} - a}{b x^{2} + a}\right )}{96 \, {\left (b^{7} x^{6} + 3 \, a b^{6} x^{4} + 3 \, a^{2} b^{5} x^{2} + a^{3} b^{4}\right )}}, \frac {48 \, b^{3} x^{7} + 231 \, a b^{2} x^{5} + 280 \, a^{2} b x^{3} + 105 \, a^{3} x - 105 \, {\left (b^{3} x^{6} + 3 \, a b^{2} x^{4} + 3 \, a^{2} b x^{2} + a^{3}\right )} \sqrt {\frac {a}{b}} \arctan \left (\frac {b x \sqrt {\frac {a}{b}}}{a}\right )}{48 \, {\left (b^{7} x^{6} + 3 \, a b^{6} x^{4} + 3 \, a^{2} b^{5} x^{2} + a^{3} b^{4}\right )}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 65, normalized size = 0.70 \[ -\frac {35 \, a \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{16 \, \sqrt {a b} b^{4}} + \frac {x}{b^{4}} + \frac {87 \, a b^{2} x^{5} + 136 \, a^{2} b x^{3} + 57 \, a^{3} x}{48 \, {\left (b x^{2} + a\right )}^{3} b^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 83, normalized size = 0.89 \[ \frac {29 a \,x^{5}}{16 \left (b \,x^{2}+a \right )^{3} b^{2}}+\frac {17 a^{2} x^{3}}{6 \left (b \,x^{2}+a \right )^{3} b^{3}}+\frac {19 a^{3} x}{16 \left (b \,x^{2}+a \right )^{3} b^{4}}-\frac {35 a \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{16 \sqrt {a b}\, b^{4}}+\frac {x}{b^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.85, size = 90, normalized size = 0.97 \[ \frac {87 \, a b^{2} x^{5} + 136 \, a^{2} b x^{3} + 57 \, a^{3} x}{48 \, {\left (b^{7} x^{6} + 3 \, a b^{6} x^{4} + 3 \, a^{2} b^{5} x^{2} + a^{3} b^{4}\right )}} - \frac {35 \, a \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{16 \, \sqrt {a b} b^{4}} + \frac {x}{b^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.10, size = 86, normalized size = 0.92 \[ \frac {x}{b^4}+\frac {\frac {19\,a^3\,x}{16}+\frac {17\,a^2\,b\,x^3}{6}+\frac {29\,a\,b^2\,x^5}{16}}{a^3\,b^4+3\,a^2\,b^5\,x^2+3\,a\,b^6\,x^4+b^7\,x^6}-\frac {35\,\sqrt {a}\,\mathrm {atan}\left (\frac {\sqrt {b}\,x}{\sqrt {a}}\right )}{16\,b^{9/2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.57, size = 131, normalized size = 1.41 \[ \frac {35 \sqrt {- \frac {a}{b^{9}}} \log {\left (- b^{4} \sqrt {- \frac {a}{b^{9}}} + x \right )}}{32} - \frac {35 \sqrt {- \frac {a}{b^{9}}} \log {\left (b^{4} \sqrt {- \frac {a}{b^{9}}} + x \right )}}{32} + \frac {57 a^{3} x + 136 a^{2} b x^{3} + 87 a b^{2} x^{5}}{48 a^{3} b^{4} + 144 a^{2} b^{5} x^{2} + 144 a b^{6} x^{4} + 48 b^{7} x^{6}} + \frac {x}{b^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________